import axios from "axios";
export const queryMenuList = (params:any)=>{
    return axios.get('/sys/menu/list',{params})
}
export const saveMenu = (data:any)=>{
    return axios.post('/sys/menu/add',data)
}
export const editMenu = (data:any)=>{
    return axios.post('/sys/menu/edit',data)
}
export const delMenu = (params:any)=>{
    return axios.delete('/sys/menu/delete',{params})
}
export const menuSelectTree = ()=>{
    return axios.get('/sys/menu/select')
}